package com.company.bookstore.service.dataExport_module;

import com.company.bookstore.entities.book_module.Book;
import com.company.bookstore.entities.order_module.Order;
import com.company.bookstore.entities.user_admin_module.User;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface DataExportService {

    void downloadBook(List<Book> all, HttpServletResponse response) throws IOException;

    void downloadOrder(List<Order> all, HttpServletResponse response) throws IOException;

    void downloadUser(List<User> all, HttpServletResponse response) throws IOException;
}
